package com.ljh.mall.service;

import com.ljh.mall.vo.Cart;
import com.ljh.mall.vo.CartItem;

import java.util.List;
import java.util.concurrent.ExecutionException;

/**
 * @author ：刘剑鸿
 * @date ：Created in 2023/4/15 15:20
 * @description：
 * @modified By：
 * @version: $
 */
public interface ICartService {
    Cart getCartList();

    CartItem addCarts(Long skuId, Integer num);
    CartItem addCart(Long skuId, Integer num) throws ExecutionException, InterruptedException;

    List<CartItem> getUserCartItems();

}
